﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UCS.Forms.Draughts.ServiceReference;

namespace UCS.Forms.Draughts
{
    public class DraughtsClientCallback : IDraughtsServiceCallback
    {
        private Draughts _draughts;

        public DraughtsClientCallback(Draughts draughts)
        {
            this._draughts = draughts;
        }

        public void InitializeCommonPiece(ServiceReference.BoardPosition position, ServiceReference.PieceColor color)
        {
            this._draughts.InitializeCommonPiece(position, color);
        }
    }
}
